package com.tt.TransactionController;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class TransactionControllerImpl implements TransactionController {
    @Override
    public void beginTransaction() {
        System.out.println("----------开启事务----------");
    }

    @Override
    public void commit() {
        System.out.println("----------提交事务----------");
    }

    @Override
    public void rollback() {
        System.out.println("----------回滚事务----------");
    }
}